/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       font.vert
 * Author:     karooolek
 * Created on: 2014-01-11
 *
 **********************************************************************************************************************/

STRINGIZE(

varying vec4 position;
varying vec4 color;

void main()
{
    // pass vertex position
    position = gl_ModelViewMatrix * gl_Vertex;

    // pass font color
    color = gl_Color;

    // pass texture coordinates
    gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
    
    // transform vertex
    gl_Position = ftransform();    
}

) // STRINGIZE
